import $ from "jquery"
import _ from "lodash"

export let vaildPhone = options => {
    return $.get(window.GlobalData.api.login.vaildPhone + `/mobile/${options.mobile}`)
};

export let vaildeCommand = options =>{
    return $.get(`${ window.GlobalData.api.login.vaildCommand }/username/${options.username}/password/${options.password}`)
};

export let vaildPassword = options =>{
  return $.get(`${window.GlobalData.api.login.vaildPassword}/username/${options.username}/password/${options.password}`)
};

export let vaildGlobelLogin = options =>{
  return $.get(window.GlobalData.api.login.vaildSwtich)
};
